<script src="<?php echo PATH?>/media/js/jquery_latest.js" type="text/javascript"></script>
<script src="<?php echo PATH?>/media/js/jquery.bxSlider.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATH?>/media/styles/bx.css" type="text/css">
<script type="text/javascript" language="javascript">
    $(document).ready(function(){

        $(function(){
            $('#slider1').bxSlider({
                displaySlideQty: 1,
                moveSlideQty: 1,
                mode: 'vertical',
                infiniteLoop: true,
                auto: true
            })
            $('#slider2').bxSlider({
                displaySlideQty: 9,
                moveSlideQty: 1,

                infiniteLoop: true,
                auto: true
            })

        });

    });
</script>



                <div class="Main_Header">
                    <div>Phụ tùng máy</div>
                </div>
                    <?foreach($this->phutungmay as $key=>$value){?>
        <div class="box_product">
             <a href="<?=PATH?>/product/detail/<?=$value->pid?>"> <div class="prod_cel"><img src="<?=PATH?>/media/images/products/<?=$value->picture?>" alt=""></div></a>
            <div class="bt_view" onclick="location.href='<?=PATH?>/product/detail/<?=$value->pid?>'"></div>
            <div class="bt_buy" onclick="location.href='<?=PATH?>/shoppingcart/add/<?=$value->pid?>'"></div>
            <div align="center"><?=$value->pname?></div>
            <div align="center" >Giá: <span style="color: yellow;"><?=number_format($value->price,0,',','.')?> VNĐ</span></div>
        </div>
            <?}?>
    <div class="view_all_bar">Xem toàn bộ</div>
    <a href="http://phutungtoyota.vn"><div class="logo_toyota"></div></a>
    <div class="Main_Header">
        <div>Phụ tùng gầm</div>
    </div>
    <?for($i=1;$i<10;$i++){?>
    <div class="box_product">

    </div>
    <?}?>
    <div class="view_all_bar">Xem toàn bộ</div>
    <a href="#"><div class="logo_misumi"></div></a>
    <div class="Main_Header">
        <div>Phụ tùng thân vỏ</div>
    </div>
    <?for($i=1;$i<10;$i++){?>
    <div class="box_product">

    </div>
    <?}?>
    <div class="view_all_bar">Xem toàn bộ</div>
    <a href="#"><div class="logo_honda"></div></a>
    <div class="Main_Header">
        <div>Phụ tùng điện điều hòa</div>
    </div>
    <?for($i=1;$i<10;$i++){?>
    <div class="box_product">

    </div>
    <?}?>
    <div class="view_all_bar">Xem toàn bộ</div>

